package com.zian.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单收货地址关联表
 * </p>
 *
 * @author
 * @since 2024-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_order_address")
@ApiModel(description="SysOrderAddress对象" )
public class SysOrderAddress implements Serializable {


    private static final long serialVersionUID = 1L;

   @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

   @ApiModelProperty("订单id")
    private Long orderId;

   @ApiModelProperty("用户id")
    private Long userId;

   @ApiModelProperty("收货人姓名")
    private String userName;

   @ApiModelProperty("收货人手机号")
    private String userPhone;

   @ApiModelProperty("省")
    private String provinceName;

   @ApiModelProperty("城")
    private String cityName;

   @ApiModelProperty("区")
    private String regionName;

   @ApiModelProperty("收件详细地址(街道/楼宇/单元)")
    private String detailAddress;


}
